package com.sea.wechat.response.po;

import com.sea.wechat.request.po.CDataAdapter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class BaseMessage {

	@XmlJavaTypeAdapter(CDataAdapter.class)
	@XmlElement(name="ToUserName")
	private String toUserName;
	@XmlJavaTypeAdapter(CDataAdapter.class)
	@XmlElement(name="FromUserName")
	private String fromUserName;
	@XmlElement(name="CreateTime")
	private long createTime;
	@XmlJavaTypeAdapter(CDataAdapter.class)	
	@XmlElement(name="MsgType")
	private String msgType;
	@XmlElement(name="MsgId")
	private String msgId;
	public String getToUserName() {
		return toUserName;
	}
	public void setToUserName(String toUserName) {
		this.toUserName = toUserName;
	}
	public String getFromUserName() {
		return fromUserName;
	}
	public void setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
	}
	public long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}
	public String getMsgType() {
		return msgType;
	}
	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}
	public String getMsgId() {
		return msgId;
	}
	public void setMsgId(String msgId) {
		this.msgId = msgId;
	}
	
	
}
